<!DOCTYPE html>
<style>
span {
    padding: 0 1em;
}
div {
    float: left;
}
body {
    margin: 0;
    padding: 0;
}
</style>
<div>foo<span>/</span>bar</div>

